package com.first.member.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.first.common.pojo.TbMember;
import com.first.common.vo.Result;
import com.first.member.vo.MemberVo;
import io.swagger.models.auth.In;

/**
 * @program: first-project
 * @description:
 * @author: 马英贤
 * @create: 2023-05-30 14:54
 **/
public interface MemberService {
    Page<TbMember> findByPage(Integer current, Integer pageSize, MemberVo memberVo);

    Integer updateIsDisabled(String id,Integer isDisabled);

    void update(TbMember tbMember);

    Result getYanZhengMa(String mobile);

    Result installMember(String mobile, String qianPassword);

    //查询个人信息
    TbMember selectOne(String mobile);

    //修改用户信息
    Integer updateUser(TbMember tbMember);

    //修改密码
    Integer updateMemberPassword(String mobile,String newPassword);

    Result getYanZhengMa1(String mobile);
}
